home *** CD-ROM | disk | FTP | other *** search
-
- lea $dff000,a6
- move #$7fff,$9a(a6) ;Disable IRQs
- move #$e000,$9a(a6) ;Master and lev6, No Cop-IRQ!
-
- mainloop lea $dff000,a6
- wait4cop move $1e(a6),d0 ;Wait for Copper-bit in INTREQR
- and.l #$10,d0
- beq.b wait4cop
- move #$10,$9c(a6) ;Clear the bit
-
- bsr mainstuff
-
- btst #6,$bfe001
- bne.s mainloop
-
- move #$7fff,$9a(a6) ;Restore system status
- move #$7ff,$96(a6)
-
- dc $800f,-2,$9c,$8010 ;Set Copper-bit in INTREQ
-